<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Str;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        User::factory()->count(1)->create();
        $user = User::first();
        $user->name = '超管';
        $user->mobile = '18888888888';
        $user->password = bcrypt("admin888");
        $user->save();
    }
}
